#ifndef FILE_TRANSFERER
#define FILE_TRANSFERER

/*
 *  fileTransferer.h
 *  
 *
 *  Created by B. Jones on 14/01/2010.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

// Note that this currently only supports blocking transfer and receive
#include <cstring>
#include <iostream>

using namespace std;



class fileTransferer
{
	public:
	fileTransferer();
	~fileTransferer();

	void send_file(int sock,const char* absolutePath);
	void receive_file(int sock,const char* fname);
	
	
protected:
	void fileEncryptor(const char*);
	
};

#endif
